package com.hgxd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hgxd.entity.pojo.Slave;

import java.util.List;

/**
 * <p>
 * 从机列表 服务类
 * </p>
 *
 * @author fsd
 * @since 2023-10-18
 */
public interface ISlaveService extends IService<Slave> {

    /**
     * 根据organizationId查询对应从机
     * @param organizationId
     * @return
     */
    List<Slave> getSlavesByOrganizationId(Integer organizationId);

    List<Slave> getNewDataByOrganizationName(String organizationName);
}
